package com.system.xingzhi.service;

import com.system.xingzhi.model.ReturnData;
import com.system.xingzhi.model.RolePermission;

import java.util.Map;

public interface RolePermissionService {
    ReturnData deleteByPrimaryKey(String rolePermissionId);

    ReturnData insert(RolePermission record);

    int insertSelective(RolePermission record);

    RolePermission selectByPrimaryKey(String rolePermissionId);

    int updateByPrimaryKeySelective(RolePermission record);

    ReturnData updateByPrimaryKey(RolePermission record);

    ReturnData selectByRoleId(String roleId);

    ReturnData getOtherChildNode(String nodeId);

    ReturnData addChildNode(String nodeId, String id, String nodeType, String value);

    ReturnData getRouterTableByRole(String roleId);
}
